package com.sdd.sg.response;

import lombok.Getter;

/**
 * ClassName: ResponseCodeEnum
 * Description:
 * date: 2020/7/6
 *
 * @author xugaojun
 */
@Getter
public enum ResponseCodeEnum {

    SUCCESS("200", "操作成功"),
    ERROR("500", "操作失败");

    private String errorCode;
    private String desc;

    ResponseCodeEnum(String errorCode, String desc) {
        this.errorCode = errorCode;
        this.desc = desc;
    }


}
